package com.maiji.cloud.entities.login;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * Description:  登陆记录
 * @author zhanglr  
 * @date 2019年6月12日
 */
@NoArgsConstructor
@Data
@Accessors(chain=true)
@Table(name = "login_log")
public class LoginLog {

	@TableId
	@Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
    private String uuId; //主键
	
	@Column(name = "user_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String userId; //用户id
	
	 @Column(name = "login_time", type = MySqlTypeConstant.DATETIME)
	private Date loginTime;  //登录日期

    @Column(name = "area_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String areaId; // 登录地区

}
